<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input id="c-id" disabled class="form-control" name="row[id]" type="hidden" value="{$ids}">
    <div class="form-group row">
    <table   class="table table-striped table-bordered table-hover table-nowrap" id="table_from"  style="width: 80%;margin-left: 50px">
        <thead>
        <tr>
            <th>工单ID</th>
            <th>产品名称</th>
            <th>产品序列号</th>
            <th>用户名</th>
            <th>购买渠道</th>
            <th>当前状态</th>
            <th>创建时间</th>
            <th>所属工厂</th>
            <th>操作</th>
        </tr>
        </thead>

        <tbody class="lyj_tbody">
        </tbody>
    </table>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">

            <button type="button" class="btn btn-success btn-service-clo-click" data-order='{"status":7,"id":{$ids}}'>确认</button>
            <a href="javascript:;" class="btn btn-info btn-export-two {:$auth->check('work/serviceexport')?'':'hide'}" title="{:__('导出')}"><i class="fa fa-download"></i> {:__('导出')}</a>
        </div>
    </div>
</form>
<script type="text/javascript">
    // === 设置分数上限
    function cs (price) {

        console.log("进入方法","number =",price.value);
        const moment = require('moment');
        var max_integral= moment().format('YYYY-MM-DD HH:mm:ss');
        $("#c-confirmdetection_time").val(max_integral)
    }
</script>
